package com.olf.service.tests;

import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.methods.GetMethod;


public class TestWs {
	public static void main(String args[]) throws Exception{
        HttpClient client = new HttpClient();

        GetMethod get = new GetMethod("http://localhost:8084/mc_rest/resteasy/reposervicos/squery/10/20?format=json");

        client.executeMethod(get);

        System.out.println(get.getResponseBodyAsString());
    }
}
